/**
 * 适配 select数据源
 * @author xiufu.wang
 */
export default function applyAdapt(dataSource, context){ 
    dataSource.selectQueryLoad = function (query) {
        const opt = dataSource.mergeOption
        const queryFiled = opt.singleQueryField || 'query'
        dataSource.shortLoadDatas({ [queryFiled]: query })
    }
}